package com.clip.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.clip.dao.ClipAddressrefDAO;
import com.clip.entity.ClipAddressref;

@Service
@Transactional
public class ClipAddressrefService {
	@Autowired
	private ClipAddressrefDAO addressrefDAO;
	public void saveClipAddressref(int eventid,float longitude,float latitude){
		ClipAddressref addressref=new ClipAddressref();
		addressref.setEventid(eventid);
		addressref.setLongitude(longitude);
		addressref.setLatitude(latitude);
		this.addressrefDAO.save(addressref);
	}
}
